package com.getword.web.controller.teacher;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;


@Controller
@RequestMapping("/teacher")
public class MainController {
    @GetMapping({"/index.html",""})
    public String index(HttpServletRequest request){
        request.setAttribute("navi", "index");
        return "teacher/index.html";
    }
}
